package com.dataimport.entity.targetentity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 院系所单位表
 * @TableName department
 */
@TableName(value ="department")
@Data
public class Department implements Serializable {
    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 单位编号
     */
    private String departmentCode;

    /**
     * 单位名称

     */
    private String departmentName;

    /**
     * 单位有效标识
     */
    private Integer departmentStatus;

    /**
     * 创建时间

     */
    private Date createTime;

    /**
     * 跟新时间

     */
    private Date updateTime;

    /**
     * 隶属单位编码

     */
    private String departmentParentCode;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}